package cl.indumotora.induapprecepcion.bean;


import android.os.Parcel;
import android.os.Parcelable;


public class UsuarioBean implements Parcelable {

	private String BNAME;
	private String NOMBR;
	private String VKORG;
	private String VTWEG;
	private String SPART;
	private String WERKS;
	private String OFVTA;
	private String DEVTA;
	private String OCOD2;
	private String CLAVE;
	private String ACTIV;
	private String PERNR;
	private String LAND1;
	
	public UsuarioBean(){};
	
	public UsuarioBean(String BNAME,
			String NOMBR,
			String VKORG,
			String VTWEG,
			String SPART,
			String WERKS,			
			String OFVTA,
			String DEVTA,
			String OCOD2,
			String CLAVE,
			String ACTIV,
			String PERNR,
			String LAND1) {
		
		this.BNAME=BNAME;
		this.NOMBR=NOMBR;
		this.VKORG=VKORG;
		this.VTWEG=VTWEG;
		this.SPART=SPART;
		this.WERKS=WERKS;
		this.OFVTA=OFVTA;
		this.DEVTA=DEVTA;
		this.OCOD2=OCOD2;
		this.CLAVE = CLAVE;
		this.ACTIV = ACTIV;
		this.PERNR = PERNR;
		this.LAND1 = LAND1;
	}
	
	public UsuarioBean(Parcel read) {
		
		this.BNAME= read.readString();
		this.NOMBR=read.readString();
		this.VKORG=read.readString();
		this.VTWEG=read.readString();
		this.SPART= read.readString();
		this.WERKS=read.readString();
		this.OFVTA=read.readString();
		this.DEVTA=read.readString();
		this.PERNR = read.readString();
		this.OCOD2 = read.readString();
		this.CLAVE = read.readString();
		this.ACTIV = read.readString();
		this.LAND1 = read.readString();
	}
	
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(BNAME);
		dest.writeString(NOMBR);
		dest.writeString(VKORG);
		dest.writeString(VTWEG);
		dest.writeString(SPART);
		dest.writeString(WERKS);
		dest.writeString(OFVTA);
		dest.writeString(DEVTA);
		dest.writeString(PERNR);
		dest.writeString(OCOD2);
		dest.writeString(CLAVE);
		dest.writeString(ACTIV);
		dest.writeString(LAND1);
	}

	 public static final Parcelable.Creator<UsuarioBean> CREATOR = new Parcelable.Creator<UsuarioBean>() {

         @Override
         public UsuarioBean createFromParcel(Parcel source) {
             return new UsuarioBean(source);
         }

         @Override
         public UsuarioBean[] newArray(int size) {
             return new UsuarioBean[size];
         }
     };
     
	public String getBNAME() {
		return BNAME;
	}

	public void setBNAME(String bNAME) {
		BNAME = bNAME;
	}

	public String getNOMBR() {
		return NOMBR;
	}

	public void setNOMBR(String nOMBR) {
		NOMBR = nOMBR;
	}

	public String getVKORG() {
		return VKORG;
	}

	public void setVKORG(String vKORG) {
		VKORG = vKORG;
	}

	public String getVTWEG() {
		return VTWEG;
	}

	public void setVTWEG(String vTWEG) {
		VTWEG = vTWEG;
	}

	public String getSPART() {
		return SPART;
	}

	public void setSPART(String sPART) {
		SPART = sPART;
	}

	public String getWERKS() {
		return WERKS;
	}

	public void setWERKS(String wERKS) {
		WERKS = wERKS;
	}

	public String getOFVTA() {
		return OFVTA;
	}

	public void setOFVTA(String oFVTA) {
		OFVTA = oFVTA;
	}

	public String getDEVTA() {
		return DEVTA;
	}

	public void setDEVTA(String dEVTA) {
		DEVTA = dEVTA;
	}

	public String getOCOD2() {
		return OCOD2;
	}

	public void setOCOD2(String oCOD2) {
		OCOD2 = oCOD2;
	}

	public String getCLAVE() {
		return CLAVE;
	}

	public void setCLAVE(String cLAVE) {
		CLAVE = cLAVE;
	}

	public String getACTIV() {
		return ACTIV;
	}

	public void setACTIV(String aCTIV) {
		ACTIV = aCTIV;
	}

	public String getPERNR() {
		return PERNR;
	}

	public void setPERNR(String pERNR) {
		PERNR = pERNR;
	}

	public String getLAND1() {
		return LAND1;
	}

	public void setLAND1(String lAND1) {
		LAND1 = lAND1;
	}


	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	
}
